package com.example.mybatisdemo1.service;


import com.example.mybatisdemo1.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    List<User> getAllUser(String type);

    User getUserById(int id);

    User queryUserByPassword(String username, String password);
}
